var MessageComponent = React.createClass({
    eventObj: {},
    componentDidMount: function() {

    },
    receiveMsg: function(data) {

    },
    getInitialState: function () {
        return this.props ? this.props : {};
    },
    getData:function (callback) {

        callback(this.state.data);
    },
    ChangeValue: function(event) {
        var name = event.target.name;
        var value = event.target.value;
        this.eventObj[name] = value;
        this.setState(this.eventObj);

    },
    render:function() {
        var data = this.state.data || '';

        return ~message;
    }
});
module.exports = MessageComponent;